package com.igeek.boot.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * MenuVO将数据响应给前端进行使用
 *
 * @author jwj
 * @since 2023/12/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("菜单项")
public class MenuVO {

    @ApiModelProperty("路径")
    private String path;
    @ApiModelProperty("路由名称")
    private String title;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("路由路径")
    private String linkUrl;

    @ApiModelProperty("二级目录")
    private List<MenuVO> children;
}
